import {HTTP} from '../utils/http'

class OneByOneModel extends HTTP{
  //1v1列表
  list(current,size){
    return this.request({
      url: 'lecturer/exclusiveServeList',
      data: {
        'size': size || 10,
        'current': current || 1,
      }
    })
  }
  //导师详情页
  teacherDetail(id){
    return this.request({
      url: 'lecturer/details',
      data: {
        'id': id
      }
    })
  }
  //banner
  banner(){
    return this.request({
      url: 'index/garden/banner',
    })
  }
}
export{OneByOneModel}